function ListRender() {
  const users = ['小明', '小红', '小刚'];
  return (
    <ul>
      {users.map((name, idx) => (
        <li key={idx}>{name}</li>
      ))}
    </ul>
  );
}

export default ListRender;
